﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExpenseSystem.Common
{
    public static class Definition
    {
        public const string SESSION_LOGIN_STR = "login";
        public const string SESSION_TRAN_STR = "trancode";

        public const string DATE_FORMAT = "yyyy-MM-dd";
        public const string DATETIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
        public const int STATE_NORMAL = 1;
        public const int STATE_READY = 2;
        public const int STATE_APPROVED = 3;
        public const int STATE_CONFIRM = 4;


        public const int RESP_SUCCESS = 0;
        public const int RESP_ARG_ERR = 1;
        public const int RESP_LOGIN_FAILD = 2;
        public const int RESP_NOT_AUTH = 3;
        public const int RESP_DATA_NOT_FOUND = 4;
        public const int RESP_SET_DATA_ERROR = 5;
        public const int RESP_STATE_INCORRECT = 6;

        public const int PAYTYPE_CASH = 1;
        public const int PAYTYPE_TRAN = 2;
        public const int PAYTYPE_COUPON = 3;

        public const int CUSTOMER_STATUS_POTENTIAL = 1;
        public const int CUSTOMER_STATUS_NORMAL = 2;

        public const int CUSTOMER_HISTORY_TYPE_MARKET = 1;
        public const int CUSTOMER_HISTORY_TYPE_REGARD = 2;
        public const int CUSTOMER_HISTORY_TYPE_RETURNVISIT = 3;
        public const int CUSTOMER_HISTORY_TYPE_COMPLAIN = 4;
		
		public const int QUOTE_TYPE_NORMAL = 1;
		public const int QUOTE_TYPE_POMOTION = 2;
    }
}
